Automattic\Jetpack\Jetpack_Lazy_Images S

Total Complexity 45
Dependencies 1
Dependents 1
Total lines 514
Lines of code 209
Logical lines of code 98
Comment lines 251
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
process_image_attributes()
A
48 10 33
should_skip_image_with_blocked_class()
S
58 5 16
process_image()
S
56 4 18
__construct()
S
56 4 17
build_attributes_string()
S
62 3 11
allow_lazy_attributes()
S
60 2 15
add_image_placeholders()
S
68 3 7
enqueue_assets()
S
53 1 29
setup_filters()
S
62 2 11
instance()
S
71 2 6
is_amp_request()
S
74 2 4
add_nojs_fallback()
S
72 1 15
flatten_kses_hair_data()
S
68 2 7
maybe_skip_core_loading_attribute()
S
71 2 6
remove_filters()
S
66 1 8
get_placeholder_image()
S
72 1 6